import request from '@/utils/request'

export function getUserList (data) {
  return request({
    url: '/api/setting/user/index',
    method: 'post',
    data
  })
}

export function deleteUser (data) {
  return request({
    url: '/api/setting/user/destroy',
    method: 'post',
    data
  })
}

export function reUser (data) {
  return request({
    url: '/api/setting/user/re',
    method: 'post',
    data
  })
}

export function updateUser (data) {
  return request({
    url: '/api/setting/user/update',
    method: 'post',
    data
  })
}

export function ceaterUser (data) {
  return request({
    url: '/api/setting/user/store',
    method: 'post',
    data
  })
}

export function updateStatus (data) {
  return request({
    url: '/api/setting/user/update_status',
    method: 'post',
    data
  })
}
